@extends('admin.layout')

@section('content')
<div class="content-wrapper" style="min-height: 916px;">
        <!-- Content Header (Page header) -->
        <section class="content-header">
            <h1>
               	商品图形管理
                <small>列表</small>
            </h1>
            <ol class="breadcrumb">
                <li><a href="#"><i class="fa fa-dashboard"></i>后台主页</a></li>
                <li><a href="#">商品图形管理</a></li>
                <li class="active">列表</li>
            </ol>
        </section>

        <!-- Main content -->
        <section class="content">
            <div class="row">
                <div class="col-xs-12">
                    <div class="box">
                        <div class="box-header">
                            <h3 class="box-title">快速编辑商品图形</h3>
                        </div><!-- /.box-header -->
                        <div class="box-body">
							
						

						

						<div class="rot" style="height:10px"></div>


                            <table class="table table-bordered table-hover dataTable" id="example2" role="grid" aria-describedby="example2_info">
                                <thead>
                                <tr>
                                    <th>编号ID</th>
									<th>类别ID</th>
									<th>商品图片</th>
                                    <th>商品商标</th>
                                    <th>时间</th>
                                    <th>操作</th>
                                </tr>
                                </thead>
                                <tbody>
                                    @foreach($data as $goodsimgs)
                                        <tr>
                                            <td class='ids'>{{ $goodsimgs -> id }}</td>
                                            <td class='ids'>{{ $goodsimgs -> cate_id }}</td>
                                            <td class='name'>
                                                <img  width = "80" height = '100' src = "{{ $goodsimgs -> goodsimgs}}" />
                                            </td>
                                            <td class = 'value'>
                                                <img  width = "80" height = '100' src = "{{ $goodsimgs -> goodsbrands}}" />
                                            </td>
                                            <td class='ids'>{{ $goodsimgs -> goodsimgstime }}</td>
                                            <td>
                                            <a href="{{ url('/admin/goodsimgs/edit') }}/{{ $goodsimgs -> id }}">
                                                编辑
                                            </a> 
                                            <span>|</span>
                                            <a href="{{ url('/admin/goodsimgs/delete') }}/{{ $goodsimgs -> id }}">
                                                删除
                                            </a>
                                            </td>
                                        </tr>
                                    @endforeach
                                </tboty>
                            </table>
                 
                            
                            <!-- 分页 -->

							
                        </div><!-- /.box-body -->
                    </div><!-- /.box -->
                </div><!-- /.col -->
            </div><!-- /.row -->
        </section><!-- /.content -->
    </div>

   

@endsection